.formalize.input_tiny {
  width: 50px;
}

.formalize.input_small {
  width: 100px;
}

.formalize.input_medium {
  width: 150px;
}

.formalize.input_large {
  width: 200px;
}

.formalize.input_xlarge {
  width: 250px;
}

.formalize.input_xxlarge {
  width: 300px;
}

.formalize.input_full {
  width: 100%;
}

.formalize.input_full_wrap {
  display: block;
  padding-right: 8px;
}

.formalize input[type="search"]::-webkit-search-decoration {
  display: none;
}

.formalize input:invalid,
.formalize button:invalid,
.formalize a.button:invalid,
.formalize select:invalid,
.formalize textarea:invalid {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.formalize input:focus,
.formalize button:focus,
.formalize a.button:focus,
.formalize select:focus,
.formalize textarea:focus {
  -webkit-box-shadow: #0066ff 0 0 5px 0;
  -moz-box-shadow: #0066ff 0 0 5px 0;
  box-shadow: #0066ff 0 0 5px 0;
  z-index: 1;
}

.formalize input[type="file"]:focus, input[type="file"]:active,
.formalize input[type="radio"]:focus,
.formalize input[type="radio"]:active,
.formalize input[type="checkbox"]:focus,
.formalize input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.formalize button,
.formalize a.button,
.formalize input[type="reset"],
.formalize input[type="submit"],
.formalize input[type="button"] {
  -webkit-appearance: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  background: #dddddd url('../images/button.png?1298351022') repeat-x;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
  background-image: -webkit-linear-gradient(#ffffff, #dddddd);
  background-image: -moz-linear-gradient(#ffffff, #dddddd);
  background-image: -o-linear-gradient(#ffffff, #dddddd);
  background-image: -ms-linear-gradient(#ffffff, #dddddd);
  background-image: linear-gradient(#ffffff, #dddddd);
  border: 1px solid;
  border-color: #dddddd #bbbbbb #999999;
  cursor: pointer;
  color: #333333;
  display: inline-block;
  font: bold 12px/1.3 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
  outline: 0;
  overflow: visible;
  margin: 0;
  padding: 3px 10px;
  text-shadow: white 0 1px 1px;
  text-decoration: none;
  vertical-align: top;
  width: auto;
  *padding-top: 2px;
  *padding-bottom: 0;
}
.formalize button:hover,
.formalize a.button:hover,
.formalize input[type="reset"]:hover,
.formalize input[type="submit"]:hover,
.formalize input[type="button"]:hover {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #eeeeee), color-stop(100%, #cccccc));
  background-image: -webkit-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -moz-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -o-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -ms-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
}
.formalize button:active,
.formalize a.button:active,
.formalize input[type="reset"]:active,
.formalize input[type="submit"]:active,
.formalize input[type="button"]:active {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #dddddd), color-stop(100%, #eeeeee));
  background-image: -webkit-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -moz-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -o-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -ms-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  border-color: #999999 #bbbbbb #dddddd;
}
.formalize button::-moz-focus-inner,
.formalize a.button::-moz-focus-inner,
.formalize input[type="reset"]::-moz-focus-inner,
.formalize input[type="submit"]::-moz-focus-inner,
.formalize input[type="button"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.formalize a.button {
  *padding-bottom: 3px;
}

.formalize button {
  *padding-top: 1px;
  *padding-bottom: 1px;
}

.formalize textarea,
.formalize select,
.formalize input[type="date"],
.formalize input[type="datetime"],
.formalize input[type="datetime-local"],
.formalize input[type="email"],
.formalize input[type="month"],
.formalize input[type="number"],
.formalize input[type="password"],
.formalize input[type="search"],
.formalize input[type="tel"],
.formalize input[type="text"],
.formalize input[type="time"],
.formalize input[type="url"],
.formalize input[type="week"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-appearance: none;
  background-color: white;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: black;
  outline: 0;
  margin: 0;
  padding: 2px 3px;
  text-align: left;
  font-size: 13px;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
  height: 1.8em;
  vertical-align: top;
  *padding-top: 2px;
  *padding-bottom: 1px;
  *height: auto;
}
.formalize textarea[disabled],
.formalize select[disabled],
.formalize input[type="date"][disabled],
.formalize input[type="datetime"][disabled],
.formalize input[type="datetime-local"][disabled],
.formalize input[type="email"][disabled],
.formalize input[type="month"][disabled],
.formalize input[type="number"][disabled],
.formalize input[type="password"][disabled],
.formalize input[type="search"][disabled],
.formalize input[type="tel"][disabled],
.formalize input[type="text"][disabled],
.formalize input[type="time"][disabled],
.formalize input[type="url"][disabled],
.formalize input[type="week"][disabled] {
  background-color: #eeeeee;
}

.formalize button[disabled],
.formalize input[disabled],
.formalize select[disabled],
.formalize select[disabled] option,
.formalize select[disabled] optgroup,
.formalize textarea[disabled],
.formalize a.button_disabled {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  color: #888888;
  cursor: default;
}

.formalize input::-webkit-input-placeholder,
.formalize textarea::-webkit-input-placeholder {
  color: #888888;
}

.formalize input:-moz-placeholder,
.formalize textarea:-moz-placeholder {
  color: #888888;
}

.formalize input.placeholder_text,
.formalize textarea.placeholder_text {
  color: #888888;
}

.formalize textarea,
.formalize select[size],
.formalize select[multiple] {
  height: auto;
}

.formalize select[size="0"],
.formalize select[size="1"] {
  height: 1.8em;
  *height: auto;
}

@media (-webkit-min-device-pixel-ratio: 0) {
 .formalize select[size],
 .formalize select[multiple],
 .formalize select[multiple][size] {
    background-image: none;
    padding-right: 3px;
  }

 .formalize select,
 .formalize select[size="0"],
 .formalize select[size="1"] {
    background-image: url();
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }

  ::-webkit-validation-bubble-message {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
    border: 1px solid;
    border-color: #747474 #5e5e5e #4f4f4f;
    color: white;
    font: 13px/17px "Lucida Grande", Arial, "Liberation Sans", FreeSans, sans-serif;
    overflow: hidden;
    padding: 15px 15px 17px;
    text-shadow: black 0 0 1px;
    height: 16px;
  }

  ::-webkit-validation-bubble-arrow,
  ::-webkit-validation-bubble-top-outer-arrow,
  ::-webkit-validation-bubble-top-inner-arrow {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #666666;
    border: 0;
  }
}
.formalize textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

.formalize optgroup {
  color: black;
  font-style: normal;
  font-weight: normal;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
}
.formalize optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.ie6_button,
* html button,
* html a.button {
  background: #dddddd url('../images/button.png?1298351022') repeat-x;
  border: 1px solid;
  border-color: #dddddd #bbbbbb #999999;
  cursor: pointer;
  color: #333333;
  font: bold 12px/1.2 Arial, sans-serif;
  padding: 2px 10px 0px;
  text-decoration: none;
  overflow: visible;
  vertical-align: top;
  width: auto;
}

* .formalize html a.button {
  position: relative;
  top: 3px;
  padding-bottom: 2px;
}

* .formalize html button {
  padding-top: 1px;
  padding-bottom: 1px;
}

.formalize .ie6_input,
* .formalize html textarea,
* .formalize html select {
  background: white;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: black;
  padding: 2px 3px 1px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  vertical-align: top;
}

* .formalize html select {
  margin-top: 1px;
}

.formalize .placeholder_text,
.formalize .ie6_input_disabled,
.formalize .ie6_button_disabled {
  color: #888888;
}

.formalize .ie6_input_disabled {
  background: #eeeeee;
}